package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xmy.cultivate.entity.SystemOperationLog;
import com.xmy.cultivate.mapper.SystemOperationLogMapper;
import com.xmy.cultivate.service.ISystemOperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 操作日志 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-27
 */
@Service
public class SystemOperationLogServiceImpl extends ServiceImpl<SystemOperationLogMapper, SystemOperationLog> implements ISystemOperationLogService {

    @Autowired
    private SystemOperationLogMapper systemOperationLogMapper;

    @Override
    public IPage<SystemOperationLog> pageList(IPage<?> page, Integer yearPart, Integer quarterNum, String startDate, String endDate, String teacherName, Integer operationType) {
        return systemOperationLogMapper.pageList(page, yearPart, quarterNum, startDate, endDate, teacherName,operationType);
    }
}
